home *** CD-ROM | disk | FTP | other *** search
/ How Would You Survive? / How Would You Survive (1995)(Grolier)[Mac-PC].iso / mac / SHARED.DIR / 01961_Script_Aztec Map < prev    next >
Text File  |  1995-09-13  |  3KB  |  148 lines

  1. on AMapRollover 
  2.   quadrantrollover
  3.   if rollover(15) then
  4.     HandCursor
  5.   else
  6.     if rollover(41) then
  7.       HandCursor
  8.     else
  9.       if rollover(42) then
  10.         Handcursor
  11.       else
  12.         ArrowCursor
  13.       end if
  14.     end if
  15.   end if
  16. end
  17.  
  18. on AMap1Rollover 
  19.   quadrantrollover
  20.   if rollover(8) then
  21.     AztecCursor
  22.   else
  23.     if rollover(9) then
  24.       AztecCursor
  25.     else
  26.       if rollover(10) then
  27.         AztecCursor
  28.       else
  29.         if rollover(11) then
  30.           AztecCursor
  31.         else
  32.           if rollover(15) then
  33.             AztecCursor
  34.           else
  35.             ArrowCursor
  36.           end if
  37.         end if
  38.       end if
  39.     end if
  40.   end if
  41. end
  42.  
  43. on AMap2Rollover
  44.   quadrantrollover
  45.   if rollover(8) then
  46.     AztecCursor
  47.   else
  48.     if rollover(9) then
  49.       AztecCursor
  50.     else
  51.       if rollover(15) then
  52.         AztecCursor
  53.       else
  54.         ArrowCursor
  55.       end if
  56.     end if
  57.   end if
  58. end
  59.  
  60. on AMap3Rollover 
  61.   quadrantrollover
  62.   if the mousecast = the castnum of sprite 8 then
  63.     AztecCursor
  64.   else
  65.     if rollover(9) then
  66.       AztecCursor
  67.     else
  68.       if rollover(10) then
  69.         AztecCursor
  70.       else
  71.         if rollover(15) then
  72.           AztecCursor
  73.         else
  74.           ArrowCursor
  75.         end if
  76.       end if
  77.     end if
  78.   end if
  79. end
  80.  
  81. on ResetAMaps
  82.   set the castnum of sprite 6 = the number of cast "PA080400.pic"
  83.   set the locH of sprite 16 = 900
  84.   puppetsprite 16, false
  85.   set the locH of sprite 12 = 1000
  86.   puppetsprite 12, false
  87.   go "MapX"
  88. end
  89.  
  90. on quadrantrollover
  91.   repeat while rollover(6)
  92.     AztecCursor
  93.     if the mouseH > 61 and the MouseH < 124 then
  94.       if the mouseV > 324 and the mouseV < 370 then
  95.         set the castnum of sprite 6 = the number of cast "PA080400.pic"
  96.         updatestage
  97.         if (the mousedown) then
  98.           puppetsprite 2, false
  99.           puppetsprite 12, false
  100.           puppetsprite 16, false
  101.           go "Map1"
  102.           abort
  103.         end if
  104.       end if
  105.     else
  106.       if the mouseH > 78 and the MouseH < 133 then
  107.         if the mouseV > 347 and the mouseV < 390 then
  108.           set the castnum of sprite 6 = the number of cast "PA080500.pic"
  109.           updatestage
  110.           if (the mousedown) then
  111.             puppetsprite 2, false
  112.             puppetsprite 12, false
  113.             puppetsprite 16, false
  114.             go "map2"
  115.             abort
  116.           end if
  117.         end if
  118.       else
  119.         if the mouseH > 124 and the MouseH < 185 then
  120.           if the mouseV > 335 and the mouseV < 369 then
  121.             set the castnum of sprite 6 = the number of cast "PA080600.pic"
  122.             updatestage
  123.             if (the mousedown) then
  124.               puppetsprite 2, false
  125.               puppetsprite 12, false
  126.               puppetsprite 16, false
  127.               go "map3"
  128.               abort
  129.             end if
  130.           else
  131.             if the mouseV > 369 and the MouseV < 405 then
  132.               set the castnum of sprite 6 = the number of cast "PA080700.pic"
  133.               updatestage
  134.               if (the mousedown) then
  135.                 puppetsprite 2, false
  136.                 puppetsprite 12, false
  137.                 puppetsprite 16, false
  138.                 go "map4"
  139.                 abort
  140.               end if
  141.             end if
  142.           end if
  143.         end if
  144.       end if
  145.     end if
  146.   end repeat
  147. end
  148.